jun.BotolDetilstore = Ext.extend(Ext.data.JsonStore, {
    constructor: function(cfg) {
        cfg = cfg || {};
        jun.BotolDetilstore.superclass.constructor.call(this, Ext.apply({
            storeId: 'BotolDetilStoreId',
            url: 'BotolDetil',
            autoLoad: !1,
            autoSave: !1,
            root: 'results',
            totalProperty: 'total',
            fields: [
                {name: 'botol_detil_id'},
                {name: 'jenis_botol_id'},
                {name: 'botol_id'},
                {name: 'jml', type: 'float'},
                {name: 'price', type: 'float'},
                {name: 'total', type: 'float'}
            ]
        }, cfg));
    },
    refreshData: function(a) {
        var subtotal = this.sum("total");
        Ext.getCmp("kas_keluarid").setValue(subtotal);
    }
});
jun.rztBotolDetil = new jun.BotolDetilstore();
//jun.rztBotolDetil.load();
